package Code.SwichDemo;

import java.util.Scanner;

//机票服务
public class Test5 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.print("请选择：");
        int number = scanner.nextInt();

        switch (number){
            case 1:
                System.out.println("机票查询");
                break;
            case 2:
                System.out.println("机票预订");
                break;
            case 3:
                System.out.println("机票改签");
                break;
            default:
                System.out.println("退出服务");
                break;


        }
    }
}
